package com.fesine.crm;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2017/10/18
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2017/10/18
 */
public class FastDFSClient {
    //private static final String CONFIG_FILENAME = "fastdfs-client.properties";
    //private static StorageClient1 storageClient1 = null;
    //
    //// 初始化FastDFS Client
    //static {
    //    try {
    //        ClientGlobal.initByProperties(CONFIG_FILENAME);
    //        TrackerClient trackerClient = new TrackerClient(ClientGlobal.g_tracker_group);
    //        TrackerServer trackerServer = trackerClient.getConnection();
    //        if (trackerServer == null) {
    //            throw new IllegalStateException("getConnection return null");
    //        }
    //
    //        StorageServer storageServer = trackerClient.getStoreStorage(trackerServer);
    //        if (storageServer == null) {
    //            throw new IllegalStateException("getStoreStorage return null");
    //        }
    //
    //        storageClient1 = new StorageClient1(trackerServer, storageServer);
    //
    //    } catch (Exception e) {
    //        e.printStackTrace();
    //    }
    //}

}
